package com.yh.modules.data.service;

import com.baomidou.mybatisplus.service.IService;
import com.yh.common.utils.PageUtils;
import com.yh.modules.data.entity.JqGridEntity;
import com.yh.modules.data.entity.MachineErrorInfoEntity;

import java.util.Map;

/**
 * @Author: skh
 * @Date: 2020/3/23 15:07
 * @Description:
 */
public interface MachineErrorInfoService extends IService<MachineErrorInfoEntity> {

    //保存机器错误原因信息
    void saveMachineErrorReason(MachineErrorInfoEntity machineErrorInfoEntity);

    //获取错误信息列表
    PageUtils getErrorInfoList(Map<String, Object> params);

    //获取错误信息页面的参数
    JqGridEntity getErrorColNamesAndModel(Integer machineId);

}
